package com.byb.server.service.mapper;

import com.byb.server.domain.*;
import com.byb.server.service.dto.WcIsurerDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity WcIsurer and its DTO WcIsurerDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WcIsurerMapper extends EntityMapper <WcIsurerDTO, WcIsurer> {
    
    
    default WcIsurer fromId(Long id) {
        if (id == null) {
            return null;
        }
        WcIsurer wcIsurer = new WcIsurer();
        wcIsurer.setId(id);
        return wcIsurer;
    }
}
